module StringUtil
  # Takes a string and escapes any and all special characters in the string
  def StringUtil.escape_sql str
    str.gsub(/\\/, "\\\\\\").gsub(/'/, "\\\\'")
  end
end
